package lesson04;

public class Test01 {
    public static void main(String[] args) {
        Student student1 = new Student("张飞");
        Teacher teacher1 = new Teacher("胡老师");
        Course course1 = new Course("Java基础");
        Course course2 = new Course("Java高级");
        student1.listen(teacher1,course1);
        student1.listen(teacher1,course2);
    }
}
